home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
text1
/
cms_help_files
/
db.helpmark
< prev
next >
Wrap
Text File
|
1991-10-23
|
2KB
|
46 lines
+-----------------------------------------------------------------------------+
| drawbox |
+-----------------------------------------------------------------------------+
Abbreviation: π|\dbπ%
Parameters: π|textπ%
π|Description:π%
A box is a grouping of rules into a square or rectangle. You can draw a box
with the \drawbox markup. The parameter for this markup is the material to
be put inside the box. Any grouping less than a paragraph can be boxed,
including letters, sentences, figures, or tables.
π|Example:π%
To draw a box around an "a", you would enter:
Draw a box around \drawbox{a}
+-----------------------------------------------------------------------------+
| |
| ..... |
| Draw a box around . . |
| ..... |
| |
+-----------------------------------------------------------------------------+
π|Example:π%
If you want to draw an empty 1 inch square (plus the box "rule size" and
"mat size") you could enter,
\db{\vrule width 0pt height 1in
\vrule width 1in height 0pt depth 0pt}
..............
. .
. .
. .
. .
. .
. .
which prints: ..............
π|Notes:π%
Do not use this markup with \monospace or around \settabs or \halign.
Paragraphs cannot be boxed with \drawbox unless each one is put in a
vertical box (see \vbox). Use the \paragraphbox markup instead.